package org.semanticflash.rdf
{
	

	import org.semanticflash.rdf.values.IRI;


	/**
	* deprecated
	*/	
	public function getIRI( value:* ):IRI
	{
	
		if ( value is IRI )
		{
			return value as IRI;	
		}
		
		
		if ( value is String )
		{
			return IRI.instance( String( value ) );
		}
		
	
		if ( value is QName )
		{
			return IRI.instance3( value as QName );		
		}
	
		
		return null;
	
	}



}